import request from '@/utils/request'

export function listPage(data) {
  return request({
    url: '/meeting/listPage',
    method: 'post',
    data
  })
}

export function getCompanyUser() {
  return request({
    url: '/user/getCompanyUser',
    method: 'get',
  })
}

export function getFreeMeetingRoom(data) {
  return request({
    url: '/meetingRoom/getFreeMeetingRoom',
    method: 'post',
    data
  })
}

export function add(data) {
  return request({
    url: '/meeting/add',
    method: 'post',
    data
  })
}


export function modify(data) {
  return request({
    url: '/meeting/modify',
    method: 'put',
    data
  })
}

export function modifyMeetingStatus(data) {
  return request({
    url: '/meeting/modifyMeetingStatus',
    method: 'get',
    params: data
  })
}
